<?php
   include 'dbcon.php';
   $sql="select * from tb_emp";
   $result=$db->query($sql);
   $sum=$result->num_rows;
   $list=$result->fetch_all(MYSQLI_BOTH);
   include 'list_html.php';
   
   $result->free();
   $db->close();


